//
//  UIButton+Addition.h
//  分类总结
//
//  Created by 张令林 on 16/9/18.
//  Copyright © 2016年 张令林. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (Addition)
//图片和文字左右排布
+ (instancetype)buttonLRWithImgName:(NSString *)imagName title:(NSString *)title color:(UIColor*)color forSize:(CGFloat)size target:(id)target action:(SEL)action forControlEvents:(UIControlEvents)event;
//图片和文字上下排布
+ (instancetype)buttonTBImgName:(NSString *)imagName imageWH:(CGFloat)imageWH title:(NSString *)title forSize:(CGFloat)size color:(UIColor*)color spacing:(CGFloat)spacing target:(id)target action:(SEL)action forControlEvents:(UIControlEvents)event;

@end
